package com.rpay.web.service;

/**
 * @author XXX
 * @mail XXX@hotmail.com
 * @date 2018/5/12
 * @Description:
 */

import com.rpay.common.dto.banner.BannerQueryDTO;
import com.rpay.service.banner.IBannerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class BannerService {
    @Autowired
    private IBannerService iBannerService;

    public BannerQueryDTO list() {
        BannerQueryDTO bannerQueryDTO = new BannerQueryDTO();
        bannerQueryDTO.setVisible(1);
        BannerQueryDTO data = iBannerService.list(bannerQueryDTO);
        return data;
    }
}
